#include <cstddef>

class SimpleBarrierImpl;

class SimpleBarrier {
public:
    explicit SimpleBarrier(size_t count);
    void wait();
    ~SimpleBarrier();

private:
    SimpleBarrierImpl *impl_;
};
